package com.xtkj.accountjava.service;


import com.xtkj.accountjava.entity.UserAccountEntity;
import com.xtkj.accountjava.entity.UserAccountMonthEntity;
import com.xtkj.accountjava.entity.WeekMonthYearEntity;

import java.util.List;
import java.util.Map;

public interface UserAccountService {

    UserAccountEntity addUserAccount(UserAccountEntity userAccountEntity);
    UserAccountEntity updateUserAccount(UserAccountEntity userAccountEntity);

    List<UserAccountEntity> getAccountPage(String startTime,String endTime,int userId,int userAcbookId,int currPage,int pageSize );
    List<UserAccountMonthEntity> getAccountMonthPage(String startTime, String endTime, int userId, int userAcbookId );
    List<WeekMonthYearEntity> getWeekMonthYearAccounts(String startWeekTime, String endWeekTime,
                                                       String startMonthTime, String endMonthTime,
                                                       String startYearTime, String endYearTime,
                                                       int userId, int userAcbookId );
    List<WeekMonthYearEntity> getMonthTrendAccounts(
                                                       String startMonthTime, String endMonthTime,
                                                       int userId, int userAcbookId );
}
